package example;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import junit.framework.TestCase;

public class HelloJunitTest extends TestCase{
	private HelloJunit helloJunit;

	@Before
	public void setUp() throws Exception {
		super.setUp();
		helloJunit=new HelloJunit();
	}

	@After
	public void tearDown() throws Exception {
		super.tearDown();
	}

	@Test
	public void testAbs() {
		assertEquals(helloJunit.abs(14),14);
		assertEquals(helloJunit.abs(-5),5);
		assertEquals(helloJunit.abs(0),0);
	}

}
